package com.aos.erp.manager;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.aos.erp.manager.mapper")
@ComponentScan(basePackages={"com.aos.erp.common.config"
        ,"com.aos.erp.manager.service"
        ,"com.aos.erp.manager.remote"
        ,"com.aos.erp.manager.rest"
        ,"com.aos.erp.manager.rpc"
        ,"com.aos.erp.common.constant"})
public class AosServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run( AosServiceApplication.class, args );
    }
}
